package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.context.annotation.Profile;

/**
 * 工厂建模对象 mes_factory_model
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class MesFactoryModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 物料档案编号 */
    @Excel(name = "物料档案编号")
    private Long materialId;
    private  String name;
    /** 生产线名称 */
    @Excel(name = "生产线名称")
    private String productLineName;
    private Profile profile;
    private  Long wlid;

    public void setWlid(Long wlid) {
        this.wlid = wlid;
    }

    public Long getWlid() {
        return wlid;
    }


    /** 工厂建模明细信息 */
    private List<MesFactoryModelDetail> mesFactoryModelDetailList;
    public  void  setName(String name){ this.name=name;}
    public  String getName(){return  name;}
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }
    public void setProductLineName(String productLineName) 
    {
        this.productLineName = productLineName;
    }

    public String getProductLineName() 
    {
        return productLineName;
    }

    public List<MesFactoryModelDetail> getMesFactoryModelDetailList()
    {
        return mesFactoryModelDetailList;
    }

    public void setMesFactoryModelDetailList(List<MesFactoryModelDetail> mesFactoryModelDetailList)
    {
        this.mesFactoryModelDetailList = mesFactoryModelDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialId", getMaterialId())
                .append("name", getName())
            .append("productLineName", getProductLineName())
            .append("remark", getRemark())
            .append("mesFactoryModelDetailList", getMesFactoryModelDetailList())
                .append("wlid",getWlid())
            .toString();
    }
}
